﻿using System;
using System.Collections.Generic;
using System.Text;
using AMS.DataAccess.Sys.BO;
using AMS.DataAccess.Common;
using AMS.DataAccess.Sys.Filters;

namespace AMS.DataAccess.Sys.Interfaces
{
    public interface IFunctionManager
    {
        List<FunctionInfo> GetFunctions(CallContext context, int moduleId);
        FunctionInfo GetFunction(CallContext context, int functionId);
        int Add(CallContext context, FunctionInfo function);
        bool Update(CallContext context, FunctionInfo function);
        bool Delete(CallContext context, FunctionInfo function);
        int BatchDelete(CallContext context, IList<int> idList);
        int BatchSetModule(CallContext context, int moduleID, IList<int> functionIDList);
        
    }
}
